<?php


    // Author: Tomasz Durka
    // Date: 5th February 2007
    // AppController::parent_render
    
    
  function render (array $params) {
    $args = array();
    foreach($params as $_key => $_val) {
      switch ($_key) {
        case 'action':
        case 'controller':
        case 'include':
          $new_params[$_key] = $_val;
          break;
        default:
          logger()->warning('Incorrect attribute within <b>render</b> function!', E_USER_ERROR);
      }
    }
    return AppController::parent_render(module . '_controller', 2, $new_params);
  }

?>